package ru.amse.tsyganov.jumleditor.main;

import ru.amse.tsyganov.jumleditor.model.ActivityGraph;
import ru.amse.tsyganov.jumleditor.view.representation.ActivityGraphView;

public class Main {

	public static void main(String[] args) {
		ActivityGraphView<ActivityGraph> graph = createStatesModel();
		new Editor(graph);
	}

	private static ActivityGraphView<ActivityGraph> createStatesModel() {
		
		ActivityGraph activityGraph = new ActivityGraph();
		
		ActivityGraphView<ActivityGraph> activityGraphView = 
			new ActivityGraphView<ActivityGraph>(activityGraph);
				
		return activityGraphView;
	}
}
